package com.lucian.ge.service.shop;

import com.lucian.ge.comman.ServerResponse;
import com.lucian.ge.pojo.shop.Category;

import java.util.List;
import java.util.Map;

/**
 * Created by Lucicol on 2019/6/19.
 */
public interface CategoryService {
//    ServerResponse addCategory(String categoryName, Integer parentId);
//    ServerResponse updateCategoryName(Integer categoryId,String categoryName);
//    ServerResponse<List<Category>> getChildrenParallelCategory(Integer categoryId);

//    ServerResponse<List<Integer>> selectCategoryAndChildrenById(Integer categoryId);
    Map<String, String> findChildCategory(Integer categoryId);
}
